package com.buddy.lock.reentrantlock._07;

public class MyThreadA extends Thread {
    private MyService myService;

    public MyThreadA(MyService myService){
        super();
        this.myService = myService;
    }

    public void run(){
        for (int i=0;i<Integer.MAX_VALUE;i++){
            myService.set();
        }
    }
}
